﻿<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no" />
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <script type="text/javascript" src="/lib/jquery/dist/jquery.min.js?v=@DateTime.Now.Ticks"></script>
    <script type="text/javascript" src="/lib/echarts/echarts.js?v=@DateTime.Now.Ticks"></script>

    <link rel="stylesheet" href="/lib/bootstrap/dist/css/bootstrap.min.css?v=@DateTime.Now.Ticks" />
    <link href="/lib/datetimepicker/dist/css/bootstrap-datetimepicker.min.css?v=@DateTime.Now.Ticks" rel="stylesheet" />
    <link href="/lib/datetimepicker/dist/css/bootstrap-datetimepicker.css?v=@DateTime.Now.Ticks" rel="stylesheet" />

    <script type="text/javascript" src="/lib/datetimepicker/dist/js/bootstrap-datetimepicker.js?v=@DateTime.Now.Ticks"></script>
    <script src="/lib/datetimepicker/dist/js/bootstrap-datetimepicker.zh-CN.js?v=@DateTime.Now.Ticks"></script>
    <link href="/css/Yield.css?v=@DateTime.Now.Ticks" rel="stylesheet" />

    <title>产品测试站良率</title>
</head>
<body dg-chart-auto-resize="true" dg-chart-options="{title:{show:false},legend:{top:0},grid:{top:25}}" dg-chart-theme="{color:'#F0F0F0',actualBackgroundColor:'#181C41'}">
    <div class="head">
        <div class="title"><label>产品测试站良率</label></div>
    </div>
    <div class="content">
        <div class="layout layout-left-top-query">
            <div class="panel" style="background-color: #22284A">
                <div class="query">
                    <div class="row" style="height:50px;">
                        <div class="col-md-2">
                            <div class="input-group input-group-sm">
                                <span class="tle">Project:</span>
                                <select class="form-control Project" style="background-color: #22284a; color: white; border-radius: 8px;"></select>
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="input-group input-group-sm">
                                <span class="tle">Process:</span>
                                <select class="form-control Process" style="background-color: #22284a; color: white; border-radius: 8px;"></select>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="input-group input-group-sm">
                                <span class="exampleInputProject tle">时间:</span>
                                <input class="form_datetime form-control" type="text" value="" id="startConsignedTm" name="startConsignedTm" placeholder="开始时间">
                                <span class="exampleInputProject tle">至</span>
                                <input class="form_datetime form-control" type="text" value="" id="endConsignedTm" name="endConsignedTm" placeholder="结束时间">
                            </div>
                        </div>
                        <div class="col-md-1">
                            <div class="input-group input-group-sm">
                                <button class="btn btn-primary  btn-sm col-md-12" type="button" onclick="getdata()">查询</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layout layout-left-top">
            <div class="panel panel-bg">
                <div class="fordiv">
                    <div class="row">
                        <div class="col-md-12">
                            <div class="input-group">
                                <table class="DataSheet" border="1" style="width:100%;height:100%;">
                                    <thead>
                                        <tr>
                                            <th>Station</th>
                                            <th>Input</th>
                                            <th>Output</th>
                                            <th>PrimeYield</th>
                                            <th>FinalYield</th>
                                            <th>FailureMode</th>
                                            <th>PrimeReject</th>
                                            <th>RetestPass</th>
                                            <th>PrimeReject</th>
                                            <th>FinalRejectRate</th>
                                        </tr>
                                    </thead>
                                    <tbody id="yield_tbody"></tbody>
                                    <thead>
                                        <tr>
                                            <th colspan="3">汇总</th>
                                            <th id="primeyield"></th>
                                            <th id="finalyield"></th>
                                            <th></th>
                                            <th></th>
                                            <th></th>
                                            <th></th>
                                            <th></th>
                                        </tr>
                                    </thead>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layout layout-right-top">
            <div class="panel">
                <div class="title"><label>PrimeYield</label></div>
                <div id="PrimeYieldChart" class="chart"></div>
            </div>
        </div>
        <div class="layout layout-right-bottom">
            <div class="panel panel-bg">
                <div class="title"><label>柏拉图</label></div>
                <div id="plato" class="chart"></div>
            </div>
        </div>
    </div>

    <script type="text/javascript" src="/js/yield.js?v=@DateTime.Now.Ticks"></script>
    <script type="text/javascript" href="?v=@DateTime.Now.Ticks">
        var scripts = $("script");
        for (var i = 0; i < scripts.length; i++) {
            if (scripts[i].src) {
                scripts[i].src = scripts[i].src + "?v=" + new Date().getTime();
            }
        }
    </script>
</body>
</html>